import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';

class LanguageEvent extends Equatable {
  LanguageEvent([List props = const []]) : super(props);
}

class UpdateLanguageEvent extends LanguageEvent {
  String local;

  UpdateLanguageEvent({@required this.local})
      : assert(local != null),
        super([local]);
}
